package com.dongdong.service;

import com.dongdong.entity.OwnPageInfo;
import com.dongdong.pojo.TbGoods;
import com.dongdong.pojo.TbGoodsDesc;
import com.dongdong.pojo.TbItem;

import java.util.List;

public interface GoodsService {
    int insertGoods(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, String sellerName, List<TbItem> list);

    List<TbGoods> GoodsCheck(String goodsName, Integer auditStatus, String sellerId);

    void updateStatus(Long[] ids, String status);

    OwnPageInfo<TbGoods> SellerCheck(String goodsName, Integer pageNum, Integer pageSize);

    int updateSellerS(Long[] ids, String status);

    TbGoods findGoodsById(Long goodsId);
}
